package com.chen.demo.cas.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class CasProperties {
    @Value("${cas.key}")
    private String casKey;
    @Value("${cas.server.host.url}")
    private String casServerUrl;
    @Value("${cas.server.host.login_url}")
    private String casServerLoginUrl;
    @Value("${cas.server.host.logout_url}")
    private String casServerLogoutUrl;
    @Value("${cas.service.host.url}")
    private String casServiceUrl;
    @Value("${cas.service.host.login_url}")
    private String casServiceLoginUrl;
    @Value("${cas.service.host.logout_url}")
    private String casServiceLogoutUrl;
}
